Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Freek): add presence #9014

Merged
merged 7 commits into from
Jan 4, 2025
Merged

feat(Freek): add presence #9014

merged 7 commits into from
Jan 4, 2025

Conversation

DiscordAnaxes
Copy link
Contributor

@DiscordAnaxes DiscordAnaxes commented Dec 26, 2024

Description

This pr implements the following:

  • Resolves Freek | freek.to #9000
  • Adds Freek presence, with page support for current existing pages (will update new features in the future) and iframe support for watching streams.

Support for current pages:

  • Movies
  • TV Shows
  • Anime
  • Manga

Unsupported (coming soon):

  • K-dramas
  • Live tv

Acknowledgements

Screenshots

Watching a movie

Screenshot 2024-12-26 071541
Screenshot 2024-12-26 071557

Watching a tv show

Screenshot 2024-12-26 071931

Searching

Screenshot 2024-12-26 072015

Exploring

Screenshot 2024-12-26 072059

Private browsing

Screenshot 2024-12-26 072316

History

Screenshot 2024-12-26 072409

Manga

image

websites/F/Freek/presence.ts Outdated Show resolved Hide resolved
websites/F/Freek/presence.ts Outdated Show resolved Hide resolved
@theusaf theusaf enabled auto-merge (squash) December 29, 2024 23:22
@theusaf theusaf requested a review from Bas950 December 29, 2024 23:22
"manga"
],
"iframe": true,
"iFrameRegExp": ".*",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you able to use a more narrow regex?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure what it iframe regex is. Is it just limiting the domain sources of the iframe?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, right now .* (meaning anything), will make the iframe.js script load into all iframes, regardless of URL.

It would be nice if you could limit it to a certain domain or path for example, so it doesn't load into Google Analytics iframe for example.

@theusaf theusaf added the inactive PR/Issue has been inactive for a while and will be closed soon label Jan 2, 2025
auto-merge was automatically disabled January 4, 2025 05:22

Head branch was pushed to by a user without write access

@theusaf theusaf removed the inactive PR/Issue has been inactive for a while and will be closed soon label Jan 4, 2025
@theusaf theusaf requested a review from Bas950 January 4, 2025 05:44
@theusaf theusaf enabled auto-merge (squash) January 4, 2025 05:44
@theusaf theusaf merged commit 60912ad into PreMiD:main Jan 4, 2025
3 checks passed
@DiscordAnaxes DiscordAnaxes deleted the freek branch January 7, 2025 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Freek | freek.to
3 participants